package com.harr.noddles.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "app")
public class AppProperties {

	private String targetUrl;
	private int numWorker = 1;

	public String getTargetUrl() {
		return targetUrl;
	}

	public void setTargetUrl(String targetUrl) {
		this.targetUrl = targetUrl;
	}

	public int getNumWorker() {
		return numWorker;
	}

	public void setNumWorker(int numWorker) {
		this.numWorker = numWorker;
	}
	
}
